<script setup lang="ts">
//这里编写ts代码
import Son from './components/07-子传父为emits标注类型/Son.vue'
const getMsg = (msg: string) => {
  console.log(msg)
}

</script>

<template>
  <div>
    开始写vue和ts
    <Son @get-msg="getMsg" @get-list="getList"></Son>
  </div>
</template>

<style scoped>

</style>
